<script setup lang="ts">
import ImageInfo from '../hooks/ImageInfo'


let {
  imageList,
  addImage
} = ImageInfo();

</script>

<template>
  <img v-for="(image, index) in imageList" :src="image" :key="index"/>

  <button @click="addImage">添加图片</button>
</template>
<style scope>
img {
  margin-right: 14px;
}
</style>
